<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\JjrUserWithdraw */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="jjr-user-withdraw-form">

    <?php $form = ActiveForm::begin(); ?>


    <?= $form->field($model, 'amount')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_no')->textInput() ?>

    <?= $form->field($model, 'bank_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_real_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'bank_branch_name')->textInput(['maxlength' => true]) ?>




    <?= $form->field($model, 'transfer_status')->dropDownList(['1' => '未转账', '2'=>'转账中','3'=>'转账成功','4'=>'转账失败'])->label('转账状态') ?>
    <?= $form->field($model, 'fail_reason')->textInput(['maxlength' => true])->hint("转账失败时填写") ?>



    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
